package com.javasm.maimaibao.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * (AdminMenu)表实体类
 *
 * @author makejava
 * @since 2025-02-11 16:04:06
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminMenu extends Model<AdminMenu> {
    @TableId(type = IdType.AUTO)
    private Integer mid;
    private String menuname;
    private Integer pid;
    private String url;
    private String showable;
    private String glyphicon;
    @TableField(exist = false)
    private List<AdminMenu> menuList;  // 子菜单列表

}

